package main

import "fmt"

var c = make(chan int, 1)
var c2 = make(chan int, 1)
var c3 = make(chan int, 1)
var c4 = make(chan int, 1)

func main() {

	c2 <- 1
	c <- 1

	select {
	case i := <-c:
		fmt.Println("c: ", i)
	case i2 := <-c2:
		fmt.Println("c2: ", i2)
	case i3 := <-c3:
		fmt.Println("c3: ", i3)
	case i4 := <-c4:
		fmt.Println("c4: ", i4)
	default:
		fmt.Println("default")
	}
}
